| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | /** |
||
| 30 | initialize: function () { |
||
| 31 | var self = this; |
||
| 32 | //Create the OCR object |
||
| 33 | /** global: OC, OCA */ |
||
| 34 | this._ocr = new OCA.Ocr.Ocr(OC.generateUrl('/apps/ocr')); |
||
| 35 | // Create the View Object |
||
| 36 | /** global: OCA */ |
||
| 37 | this._view = new OCA.Ocr.View(this._ocr); |
||
| 38 | self._ocr.initialize().done(function(){ |
||
| 39 | self._view.initialize(); |
||
| 40 | }).fail(function (message) { |
||
| 41 | self._view.notifyError('OCR App could not be initialized: ' + message); |
||
| 42 | }); |
||
| 43 | }, |
||
| 44 | /** |
||
| 69 | })(OC, window, jQuery); |